# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=iotop-c
pkgver=1.25
pkgrel=0
pkgdesc="simple top-like I/O monitor (implemented in C)"
url="https://github.com/Tomas-M/iotop"
arch="all"
license="GPL-2.0-or-later"
options="!check" # no tests
depends="!iotop"
makedepends="linux-headers ncurses-dev coreutils"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Tomas-M/iotop/archive/v$pkgver.tar.gz"
builddir="$srcdir/iotop-$pkgver"

build() {
	make
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="
b696d0478e08373a923475493d67912959d78369f086179590482fb8e6ec349d0c8f5e6118e0aa353d2827b8d83f14bf334cf50cf55f6859bd8d9317543031e0  iotop-c-1.25.tar.gz
"
